define(function(require){
	var $ = require("jquery");
	var justep = require("$UI/system/lib/justep");

	var Model = function(){
		this.callParent();
	};

    //接收列表页传过来的参数
	Model.prototype.gonggaoRecerve = function(event){		
		var ggData = this.comp("gonggaoBData").find(["id"], [this.params.ggId]);
		this.comp("gonggaoData").newData({
			"defaultValues" : [ {
				"title":ggData[0].val("title"),
				"content":ggData[0].val("content"),
				"publisher":ggData[0].val("publisher"),
				"publishDate":ggData[0].val("publishDate")
			} ]
		})
	};

	return Model;
});